home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / tgcmd.z / tgcmd
Encoding:
Text File  |  2002-10-03  |  8.0 KB  |  199 lines

  1.  
  2.  
  3.  
  4. ttttggggccccmmmmdddd((((1111MMMM))))                                                            ttttggggccccmmmmdddd((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      tgcmd - Tigon3 gigabit ethernet diagnostic tool
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////eeeettttcccc////ttttggggccccmmmmdddd _s_u_b_c_o_m_m_a_n_d [ _t_g_N ... ]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _t_g_c_m_d is the diagnostic utility for the Tigon3 gigabit Ethernet driver
  16.      _t_g(7M).  It supports a number of subcommands to interrogate and control
  17.      both the driver itself and the Tigon3 interfaces ('tgN') under its
  18.      control.  Typing _t_g_c_m_d with no arguments outputs a usage message which
  19.      lists all of the available subcommands.
  20.  
  21. WWWWAAAARRRRNNNNIIIINNNNGGGG
  22.      Only some of the _t_g_c_m_d subcommands are documented here.  The remaining
  23.      (undocumented) subcommands should be executed only under the direction of
  24.      Silicon Graphics service personnel - they could adversely affect system
  25.      performance or functionality.
  26.  
  27. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  28.      The following subcommands are safe for the user:
  29.  
  30.      ttttggggccccmmmmdddd iiiinnnnvvvveeeennnnttttoooorrrryyyy
  31.           Displays a one line summary for each Tigon3 board found in the
  32.           system and recognized by the driver.
  33.  
  34.           # tgcmd inventory
  35.                   Chip   Chip   Sybsys Subsys Board
  36.           I/F     Vendor Device Vendor Device Rev
  37.           ===     ====== ====== ====== ====== ======
  38.           tg1     0x14e4 0x1645 0x10a9 0x8011 0x0000 SGI 5701 Copper
  39.           tg2     0x14e4 0x1645 0x10a9 0x8012 0x0000 SGI 5701 Fiber
  40.  
  41.      ttttggggccccmmmmdddd lllliiiinnnnkkkk____ssssttttaaaatttteeee _tttt_gggg_NNNN
  42.           Displays current link speed, duplex and flow control setting of the
  43.           specified interface.
  44.  
  45.           # tgcmd link_state tg1
  46.           tg1 link is UP at 1000 Mbps FULL duplex flow_ctrl is OFF
  47.  
  48.      ttttggggccccmmmmdddd ccccoooonnnnffffiiiiggggssss _tttt_gggg_NNNN
  49.           Displays the configuration parameters currently in effect for the
  50.           specified interface.  The parameter values that are displayed with
  51.           this command differ from the "saved configuration" displayed by
  52.           _t_g_c_o_n_f_i_g(1M), in that they have been decoded from their original
  53.           string values, and the defaults have been resolved.
  54.  
  55.           This decoding and resolution step occurs when the interface is
  56.           brought up, so if '_t_g_c_o_n_f_i_g -s' is used to change the configuration
  57.           of an interface that is already up, '_t_g_c_o_n_f_i_g -g' will display the
  58.           new configuration and '_t_g_c_m_d configs _t_g_N' will display the old
  59.           configuration that is still in effect.
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ttttggggccccmmmmdddd((((1111MMMM))))                                                            ttttggggccccmmmmdddd((((1111MMMM))))
  71.  
  72.  
  73.  
  74.           # tgcmd configs tg1
  75.           accept_bcast   1
  76.           autoneg        ON
  77.           coal_frames_rx 0
  78.           coal_frames_tx 0
  79.           coal_usecs_rx  0
  80.           coal_usecs_tx  0
  81.           ctrl_rrbs      1
  82.           data_rrbs      4
  83.           fill_thresh    10
  84.           flow_ctrl      ON
  85.           hw_cksum_rx    1
  86.           hw_cksum_tx    1
  87.           link_pref      AUTO
  88.           mac_mask       0x0
  89.           mac_addr       0x0
  90.           mbuf_chain_len 8
  91.           sendQ_size     2048
  92.  
  93.      ttttggggccccmmmmdddd ggggeeeetttt____ssssttttaaaattttssss _tttt_gggg_NNNN
  94.           Displays statistics for the specified interface.  These statistics
  95.           are cumulative since the last time the interface was brought up via
  96.           _i_f_c_o_n_f_i_g or since the last time 'tgcmd clear_stats tgN' command was
  97.           executed.
  98.  
  99.           These statistics are separated into those collected by the driver
  100.           ("Driver Statistics") and those collected by the interface hardware
  101.           ("NIC Statistics").
  102.  
  103.           # tgcmd get_stats tg1
  104.  
  105.           Driver Statistics:
  106.                              3  mbufs allocated for ethernet headers
  107.                          14562  Interrupts
  108.                            209  Max Bfrs on Send Ring
  109.                              1  Max Pkts seen on I/F Send Queue
  110.                             15  Max Bfrs added to RxStd Ring
  111.                          21302  Rx pkts with H/W generated checksum
  112.                              4  Rx pkts with S/W generated checksum
  113.                           3178  Send lock busy
  114.                         449947  Send lock obtained
  115.                          14562  Status Block updates detected
  116.                         449920  Tx pkts with H/W generated checksum
  117.                             36  Tx restarted from interrupt
  118.                         449922  Tx Ring producer index updated
  119.                             10  Tx pkts with S/W generated checksum
  120.  
  121.           NIC Statistics:
  122.                        1363792  ifHCInOctets
  123.                           3696  <0x408>
  124.                          21306  ifHCInUcastPkts
  125.                          21299  etherStatsPkts64Octets
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. ttttggggccccmmmmdddd((((1111MMMM))))                                                            ttttggggccccmmmmdddd((((1111MMMM))))
  137.  
  138.  
  139.  
  140.                              6  etherStatsPkts65to127Octets
  141.                              1  etherStatsPkts128to255Octets
  142.                      681456263  ifHCOutOctets
  143.                         449923  ifHCOutUcastPkts
  144.                              7  ifHCOutBroadcastPkts
  145.                          21306  COSIfHCInPkts[1]
  146.                         449930  COSIfHCOutPkts[1]
  147.                         499621  nicDmaReadQueueFull
  148.                         452614  nicRingSetSendProdIndex
  149.                          14562  nicRingStatusUpdate
  150.                          14562  nicInterrupts
  151.                          14359  nicSendThresholdHit
  152.  
  153.      ttttggggccccmmmmdddd cccclllleeeeaaaarrrr____ssssttttaaaattttssss _tttt_gggg_NNNN
  154.           Clears statistics for the specified interface.  To display
  155.           statistics which occur only during a specific interval, run 'tgcmd
  156.           clear_stats tgN' before the interval and 'tgcmd get_stats tgN' after
  157.           the interval.
  158.  
  159. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  160.      CCCCoooouuuulllldddd nnnnooootttt ooooppppeeeennnn """"////hhhhwwww////nnnneeeetttt////iiiiffff____ttttgggg"""":::: ooooppppeeeennnn:::: NNNNoooo ssssuuuucccchhhh ffffiiiilllleeee oooorrrr ddddiiiirrrreeeeccccttttoooorrrryyyy
  161.  
  162.      All _t_g_c_m_d subcommands make ioctl calls to the _t_g driver, via the
  163.      "/hw/net/if_tg" hardware graph node that the driver sets up when it finds
  164.      at least one Tigon3 card in the system.  This error message most likely
  165.      indicates that no Tigon3 cards were recognized by the driver. Use the
  166.      _h_i_n_v(1M) command to verify the presence of Tigon3 cards.
  167.  
  168. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  169.      ethernet(7), hinv(1M), ifconfig(1M), network(1M), tg(7M), tgconfig(1M).
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.